package com.service.finanial.service;

import com.client.model.pojo.bank.ArElectronic;
import com.client.model.vo.common.Result;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "service-bank",path = "/airui/api/electronic")
public interface ElectronicFeignService {
    @GetMapping("/getAssPrice")
    public ArElectronic arElectronic(@RequestParam(name = "token") String token);
    @PutMapping("/update")
    public Result update(@RequestBody ArElectronic arElectronic);
}
